package main

import "fmt"

//递归
func recurison(a int) int {
	if a == 0 {
		return 1
	}
	return a * recurison(a-1)
}

func main() {
	fmt.Println(recurison(3)) // 1*2*3
}
